﻿@model WebGioiThieu.Models.aspnet_Users

@{
    ViewBag.Title = "Chi tiet " + @Model.UserName;
}

<!DOCTYPE html>

<html>
<head>
    <title>Chi tiết @Model.UserName</title>
</head>
<body>
    <fieldset>
        <legend>Thông tin @Model.UserName</legend>

        <div class="display-field">
             @Html.DisplayFor(model => model.UserName)
        </div>
         <div class="display-field">@Html.LabelFor(model => model.aspnet_Membership.FullName)
            @Model.aspnet_Membership.FullName
        </div>
         <div class="display-field">@Html.LabelFor(model => model.aspnet_Membership.Gender)
                @if(@Model.aspnet_Membership.Gender==true){
                    <span>Nam</span>
                }else{
                    <span>Nữ</span>
                }
        </div>
         <div class="display-field">@Html.LabelFor(model => model.aspnet_Membership.Birthday)
            @Html.DisplayFor(model => model.aspnet_Membership.Birthday)
        </div>
         <div class="display-field">@Html.LabelFor(model => model.aspnet_Membership.Address)
            @Html.DisplayFor(model => model.aspnet_Membership.Address)
        </div>
         <div class="display-field">@Html.LabelFor(model => model.aspnet_Membership.PhoneNumber)
            @Model.aspnet_Membership.PhoneNumber)
        </div>
         <div class="display-field">
            @Html.LabelFor(model => model.aspnet_Membership.IdentityCard) @Html.DisplayFor(model => model.aspnet_Membership.IdentityCard)
        </div>
    </fieldset>
    <p>
        @Html.ActionLink("Edit", "Edit", new { id=Model.UserId }) |
        @Html.ActionLink("Back to List", "Index")
    </p>
</body>
</html>
